package com.firepongo.chaos.app.service.init;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
@Slf4j
@MapperScan({"com.firepongo.chaos.app.service.mapper"})
public class InitAppService {

    @Autowired
    private InitAppCheckService initAppCheckService;

    @PostConstruct
    public void init() {
        initAppCheckService.check();
    }


}
